Prevention of self-harm through early detection of depression among the elderly with permanent pacemaker: a case report